device_license_info
Configuration for Device License Info resource.
Read/write properties
instance_state<String>
Managed device instance state.
details<String>
Details about license state.
flexed_instance_type<String>
Flexed instance type and count, like Multi Tenant:1,Single Tenant:6,Bare Metal:1,CPX:1.
is_las_license<Boolean>
is device LAS Licensed.
last_updated_time<Double>
Last Updated Time.
instance_mode<String>
instance mode of device.
Read only properties
license_pool<String>
License Pool.
allocated_advanced_bw<Integer>
Running advanced license capacity of VM.
hours_to_expiry<Integer>
No of Hours after which grace license expires.
allocated_standard_bw<Integer>
Running standard license capacity of VM.
current_throughput<String>
Current Througput of device.
configured_on_vm<Integer>
Configured license capacity of VM.
allocated<Integer>
Allocate license on License server.
managed_device_id<String>
Device id managaed device.
allocated_instance<Integer>
Running instance license capacity of VM.
license_state<String>
State of device, UP only if device accessible.
name<String>
Name of managed device.
grace<Boolean>
True if this device is managed by NMX.
allocated_on_vm<Integer>
Running license capacity of VM.
allocated_premium_bw<Integer>
Running premium license capacity of VM.
ip_address<String>
IP Address for this managed device.
type<String>
Type of device, (Xen | NS).
Operations
NOTE: In request payload, Mandatory parameters are marked red and bold.
The following parameters can be used in the nitro request :
onerror <String_value>
Use this parameter to set the onerror status for nitro request. Applicable only for bulk requests.
Default value: EXIT
Possible values = EXIT, CONTINUE
URL:https://<MGMT-IP>/nitro/v2/config/device_license_info
Query-parameters:
filter
https://<MGMT-IP>/nitro/v2/config/device_license_info?filter=property-name1:property-value1,property-name2:property-value2
Use this query-parameter to get the filtered set of device_license_info resources configured on the system. You can set a filter on any property of the resource.
pagesize=#no&pageno=#no
https://<MGMT-IP>/nitro/v2/config/device_license_info?pagesize=#no&pageno=#no
Use this query-parameter to get the device_license_info resources in chunks.
count
https://<MGMT-IP>/nitro/v2/config/device_license_info?count=yes
Use this query-parameter to get the count of device_license_info resources.
HTTPS Method:GET
Request Headers:
Accept:application/json
X-NITRO-USER:username_value<String>
X-NITRO-PASS:password_value<String>
or
Cookie:NITRO_AUTH_TOKEN=token_value<String>
Response:
HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx
Response Headers:
Content-Type:application/json
Response Payload:JSON
{ "errorcode": 0, "message": "Done", "severity": <String_value>, "device_license_info":[{
"license_pool":<String_value>,
"instance_state":<String_value>,
"details":<String_value>,
"allocated_advanced_bw":<Integer_value>,
"hours_to_expiry":<Integer_value>,
"allocated_standard_bw":<Integer_value>,
"current_throughput":<String_value>,
"flexed_instance_type":<String_value>,
"configured_on_vm":<Integer_value>,
"allocated":<Integer_value>,
"managed_device_id":<String_value>,
"is_las_license":<Boolean_value>,
"allocated_instance":<Integer_value>,
"license_state":<String_value>,
"name":<String_value>,
"grace":<Boolean_value>,
"allocated_on_vm":<Integer_value>,
"allocated_premium_bw":<Integer_value>,
"last_updated_time":<Double_value>,
"ip_address":<String_value>,
"type":<String_value>,
"instance_mode":<String_value>}]}